<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Builder;

class NeighborCouncilSurveyQuestion extends CommonModel {
	protected $table = 'neighbor_council_survey_question';
	
	public static function boot()
	{
		parent::boot();
		static::addGlobalScope('status',function(Builder $builder){
			return $builder->where(['neighbor_council_survey_question.status'=>1]);
		});
	}
}